class Context {
    done =  false;
    value = undefined;
    next = 0;
    complete(type, result) {
      if (type === "return") {
        this.value = result;
        this.next = "end";
      }
      return null;
    }
    stop() {
      this.done = true;
      return this.value;
    }
  };
  exports.Context = Context;
  